const { getAppEnvConfig } = require('/src/renderer/build/env.js');

export const useAppEnvSetting = () => {
  const { VUE_APP_API_URL, VUE_APP_API_URL_PREFIX } = getAppEnvConfig();

  return {
    apiUrl: VUE_APP_API_URL,
    apiUrlPrefix: VUE_APP_API_URL_PREFIX,
  };
};
